package com.panda.takeaway.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.panda.takeaway.entity.po.Shop;
import io.lettuce.core.dynamic.annotation.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author John
 * @create 2021-08-06-12:06
 */
@Repository
public interface ShopMapper extends BaseMapper<Shop> {

    List<Shop> queryShopsBySchool(@Param("schooId") Long schoolId, @Param("limit") int limit, @Param("offset") int offset);


}
